/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javafx191labs.ssheypak.common.data;

/**
 *
 * @author SSheypak
 */
public class Person extends Entity{
    private final String descr = "Человек";

    protected String firstName;

    protected String lastName;

    protected String birthDay;

    @Override
    public String getDescription() {
        return descr;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    @Override
    public String toString(){
        return "Person{lastName=>"+lastName+", firstName=> "+firstName+", birthDay=>"+birthDay+"}";
    }

}
